const main = require('../main/main');

describe('taxi fee', function () {
    it('Less than two kilometers away',function(){
        let result = main(1,5);
        expect(result).toBe(7);
    })
    it('Less than eight kilometers and more than two kilometers',function(){
        let result = main(6,8);
        expect(result).toBe(11);
    })
    it('More than eight kilometers',function(){
        let result = main(10,10);
        expect(result).toBe(16);
    })
});
